-- GENERATED SPELL FOR [Burning Blade Seer] --


function spell0_13019(pUnit, Event) --@Flame Buffet,n/a--
pUnit:FullCastSpellOnTarget(9658,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13019', 47200, 1)
end

function spell1_13019(pUnit, Event) --@Flamestrike,n/a--
pUnit:FullCastSpellOnTarget(11829,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13019', 11000, 1)
end

function Sorts_13019(pUnit, Event)
local choix_sorts_13019 = math.random(0, 1)
if choix_sorts_13019 == 0 then
pUnit:RegisterEvent('spell0_13019', 1, 1)
end
if choix_sorts_13019 == 1 then
pUnit:RegisterEvent('spell1_13019', 1, 1)
end
end

function mob13019_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13019', math.random(1500, 3000), 1)
end

function mob13019_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13019_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13019_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13019, 1, 'mob13019_Action')
RegisterUnitEvent(13019, 2, 'mob13019_Leave')
RegisterUnitEvent(13019, 3, 'mob13019_Kill')
RegisterUnitEvent(13019, 4, 'mob13019_Die')
